*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body{
  background-color: #000;
  height: 100vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.ring{
  position: relative;
  width: 180px;
  height: 180px;
  background-image: linear-gradient(#2ecc71, transparent 70%);
  border-radius: 50%;
  animation: roll 1s linear infinite;
}
.ring2{background-image: linear-gradient(#f1c40f, transparent 70%)}
.ring3{background-image: linear-gradient(#e74c3c, transparent 70%)}
.ring::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  background-color: #000;
  border-radius: 50%;
}
.ring::after{
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(deepskyblue, transparent 40%);
  border-radius: 50%;
  filter: blur(10px);
}

@keyframes roll{
  100% { 
    transform: rotate(360deg);
    filter: hue-rotate(360deg);
  }
}